﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="User.ascx.cs" Inherits="Marbles.CMS.Administrator.Content.User" %>

<div style="background:white;border:solid 1px silver;padding:4px;">
<table border="0" cellpadding="2" cellspacing="0">
<tr><td>
<table border="0" cellpadding="2" cellspacing="0">
<tr><td>User Name:</td><td>&nbsp;</td><td><asp:TextBox id="txtUsername" runat="server" Width="200px" /></td></tr>
<tr><td>Comment:</td><td>&nbsp;</td><td><asp:TextBox id="txtComment" runat="server" Width="300px" /></td></tr>
<tr><td>Email:</td><td>&nbsp;</td><td><asp:TextBox id="txtEmail" runat="server" Width="300px" /></td></tr>
<tr><td>Approved:</td><td>&nbsp;</td><td><asp:CheckBox ID="chkApproved" runat="server" /></td></tr>
<tr><td>Locked:</td><td>&nbsp;</td><td><asp:CheckBox ID="chkLocked" runat="server" /></td></tr>
<tr><td>Security Question:</td><td>&nbsp;</td><td><asp:TextBox id="txtSecQuestion" runat="server" Width="300px" /></td></tr>
<tr><td>Security Answer:</td><td>&nbsp;</td><td><asp:TextBox id="txtSecAnswer" runat="server" Width="300px" /></td></tr>
<tr><td>Old Password:</td><td>&nbsp;</td><td><asp:TextBox id="txtOldPassword" TextMode="Password" runat="server" Width="200px" /></td></tr>
<tr><td>New Password:</td><td>&nbsp;</td><td><asp:TextBox id="txtNewPassword" TextMode="Password" runat="server" Width="200px" /></td></tr>
<tr><td>Currently Online:</td><td>&nbsp;</td><td><asp:CheckBox ID="chkOnline" runat="server"  Enabled="false" /> <asp:Label ID="lblLastAct" runat="server" /></td></tr>
</table>
</td><td>&nbsp;</td><td>
<b>Roles</b><br />
<asp:ListBox ID="lstRoles"  runat="server"  Height="250px"  Width="200px" SelectionMode="Multiple" ></asp:ListBox>
</td></tr>
</table>
<hr />
<asp:Button ID="btnSave"  CausesValidation="true" runat="server" CommandName="Update" OnCommand="btnSave_Command" text="Save" ToolTip="Save Changes" />&nbsp;
<asp:Button ID="btnCancel"  CausesValidation="false" runat="server" Text="Cancel" ToolTip="Cancel Changes" OnClientClick="window.location.href='Default.aspx?action=UserList';return false;" />
<asp:Button ID="btnDelete"  CausesValidation="true" runat="server" CommandName="Delete" OnCommand="btnSave_Command" text="Delete" ToolTip="Delete" OnClientClick="return confirm('Are you sure?');" />&nbsp;
</div>